package com.shengdai.urms.core.model;

import java.util.Calendar;

import javax.ws.rs.Consumes;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;

/**
 * 操作日志对象
 *
 */
@Produces({MediaType.APPLICATION_XML})
@Consumes({MediaType.APPLICATION_XML})
public class UmDolog implements java.io.Serializable {
	public static final String	UMDOLOG_LOGTYPE_LOGIN	= "LOGIN";		// 登录
	public static final String	UMDOLOG_LOGTYPE_LOGOUT	= "LOGOUT";	// 退出

	/**
	 *
	 */
	private static final long	serialVersionUID		= 30006016L;
	private String				syscode;								// 系统编码
	private String				appid;									// 表单id
	private String				logid;									// 日志ID
	private String				userid;								// 用户id
	private String				logonid;								// 登录ID
	private String				username;								// 用户名称
	private String				deptname;								// 部门名称
	private String				corpname;								// 公司名称
	private String				logtype;								// 日志类型
	private String				spuser;								// 是否超级用户
	private String				doctitle;								// 文档标题
	private String				host;									// 主机名称
	private String				ipaddr;								// IP地址
	private String				extinfo;								// 操作扩展信息
	private String				operate;								// 操作
	private Calendar			createdate;							// 时间

	public String getCorpname() {
		return corpname;
	}

	public void setCorpname(String corpname) {
		this.corpname = corpname;
	}

	public String getDeptname() {
		return deptname;
	}

	public void setDeptname(String deptname) {
		this.deptname = deptname;
	}

	public String getDoctitle() {
		return doctitle;
	}

	public void setDoctitle(String doctitle) {
		this.doctitle = doctitle;
	}

	public String getExtinfo() {
		return extinfo;
	}

	public void setExtinfo(String extinfo) {
		this.extinfo = extinfo;
	}

	public String getHost() {
		return host;
	}

	public void setHost(String host) {
		this.host = host;
	}

	public String getLogid() {
		return logid;
	}

	public void setLogid(String logid) {
		this.logid = logid;
	}

	public String getLogonid() {
		return logonid;
	}

	public void setLogonid(String logonid) {
		this.logonid = logonid;
	}

	public String getOperate() {
		return operate;
	}

	public void setOperate(String operate) {
		this.operate = operate;
	}

	public String getSpuser() {
		return spuser;
	}

	public void setSpuser(String spuser) {
		this.spuser = spuser;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getLogtype() {
		return logtype;
	}

	public void setLogtype(String logtype) {
		this.logtype = logtype;
	}

	public String getIpaddr() {
		return ipaddr;
	}

	public void setIpaddr(String ipaddr) {
		this.ipaddr = ipaddr;
	}

	public String getUserid() {
		return userid;
	}

	public void setUserid(String userid) {
		this.userid = userid;
	}

	public String getSyscode() {
		return syscode;
	}

	public void setSyscode(String syscode) {
		this.syscode = syscode;
	}

	public String getAppid() {
		return appid;
	}

	public void setAppid(String appid) {
		this.appid = appid;
	}

	public Calendar getCreatedate() {
		return createdate;
	}

	public void setCreatedate(Calendar createdate) {
		this.createdate = createdate;
	}

}
